//
//  OrderStatusBtn.m
//  tryshopping.boss
//
//  Created by Mr.Lee on 16/11/21.
//  Copyright © 2016年 Reabam. All rights reserved.
//

#import "OrderStatusBtn.h"

@implementation OrderStatusBtn

- (void)layoutSubviews
{
    [super layoutSubviews];
    
    
    CGRect titleF = self.titleLabel.frame;
    CGRect imageF = self.imageView.frame;
    titleF.origin.x = 5;
    self.titleLabel.frame = titleF;
    imageF.origin.x = CGRectGetMaxX(titleF) + 8;
    self.imageView.frame = imageF;
    

    
//    self.imageView.y = 15;
//    self.imageView.centerX = self.width * 0.5;
//
//    [self.titleLabel sizeToFit];
////    self.titleLabel.y = self.height - self.titleLabel.height;
//    self.titleLabel.y = self.imageView.bottom +12;
//
//    self.titleLabel.centerX = self.width * 0.5;
}

@end
